package com.xhh.learning.record.threadpool;

public interface ThreadPool {

    void execute(Runnable runnable);

    Task submit(Runnable runnable);

    int getCoreSize();

    int getMaxSize();

    int getPoolSize();

    long getKeepalive();
}
